import { defineUserConfig } from "vuepress";
import theme from "./theme.js";

export default defineUserConfig({
  base: "/kb/",
  lang: "zh-CN",
  title: "天尘的知识库",
  description: "葬天尘的知识库，以前用语雀，实在受不了那个桌面编辑器",

  theme,

  // 修改默认只显示到三级标题
  markdown: {
    headers:{
      //level: [2, 3, 4, 5, 6]
    },
  },

  // Enable it with pwa
  shouldPrefetch: false,
  head: [
    ['script', {type: 'text/javascript', src: '/js/index.js'}]
  ],
});
